package com.tbit.uqbike.client.service;

import com.tbit.uqbike.client.pojo.newEntity.UserActiveLog;

/**
 * @Author: chen
 * @Description:
 * @Date: 创建于 14:37 2022/5/17
 */
public interface UserActiveLogService {

    /**
     * 通过手机号码获取
     *
     * @param phone
     * @return
     */
    UserActiveLog getByPhoneAndEventId(String phone, Integer eventId, Integer type);

    /**
     * 新增
     *
     * @param phone
     */
    void add(String phone, Integer eventId, Integer type, Integer userId);
}
